<div class="rule_listings view" >
<h2><?php  echo __('Championship', true).': '.$championship['Championship']['strName']; ?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Real Time'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $championship['Championship']['bRealTime']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Nb Teams'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $championship['Championship']['iNbTeams']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Types'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $championship['RuleType']['ID'].':'.$championship['RuleType']['LocalizedString'][$locale]; ?>
			&nbsp;
		</dd>

		<?php if($championship['RuleType']['ID'] != 4) { ?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Championship INbGroups'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $championship['Championship']['Championship_iNbGroups']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Championship INbMatchsPerGroup'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $championship['Championship']['Championship_iNbMatchsPerGroup']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Cup INbGroups'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $championship['Championship']['Cup_iNbGroups']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Cup INbMatchsPerGroup'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $championship['Championship']['Cup_iNbMatchsPerGroup']; ?>
			&nbsp;
		</dd>
		<?php  } ?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Starting Level'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $championship['Championship']['Playoff_iStartingLevel']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Double Elimination'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $championship['Championship']['Playoff_iDoubleElimination']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Reward 1st'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $championship['Championship']['Reward_iWinner']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Reward 2nd'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $championship['Championship']['Reward_iLoser']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Rules'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php
			echo __('Sponsor', true).':'.$championship['Championship']['bSponsor'].', ';
			echo __('Buy Experienced Players', true).':'.$championship['Championship']['bBuyExperiencedPlayers'].', ';
			echo __('Death', true).':'.$championship['Championship']['bDeath'].', ';
			echo __('Ageing', true).':'.$championship['Championship']['bAgeing'].', ';
			echo __('Negociation', true).':'.$championship['Championship']['bNegociation'].', ';
			echo __('Magic', true).':'.$championship['Championship']['bMagic'].', ';
			echo __('Bribery', true).':'.$championship['Championship']['bBribery'].', ';
			echo __('Doping', true).':'.$championship['Championship']['bDoping'].', ';
			echo __('Coup De Main', true).':'.$championship['Championship']['Coups_bCoupDeMain'].', ';
			echo __('Coup Fiesta', true).':'.$championship['Championship']['Coups_bCoupFiesta'].', ';
			echo __('Pre Match Event', true).':'.$championship['Championship']['bPreMatchEvent'].', ';
			echo __('Max Cheerleaders', true).':'.$championship['Championship']['Max_iCheerleaders'].', ';
			echo __('Max Balms', true).':'.$championship['Championship']['Max_iBalms'].', ';
			echo __('Max Rerolls', true).':'.$championship['Championship']['Max_iRerolls'].', ';
			echo __('Max Popularity', true).':'.$championship['Championship']['Max_iPopularity'].', ';
			echo __('Max Experience Level', true).':'.$championship['Championship']['Max_iExperienceLevel'].', ';
			echo __('Star Players', true).':'.$championship['Championship']['bStarPlayers'].', ';
			echo __('Equipment', true).':'.$championship['Championship']['bEquipment'].', ';
			echo __('Custom Equipment', true).':'.$championship['Championship']['bCustomEquipment'].', ';
			?>
			&nbsp;
	</dl>
<?php
if(isset($teams)) {
	echo $this->element('teams_ranking', array('teams' => $teams, 'title' => __('Teams',true)));
} ?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Edit Championship', true), array('action' => 'edit', $championship['Championship']['ID'])); ?> </li>
		<li><?php echo $html->link(__('Delete Championship', true), array('action' => 'delete', $championship['Championship']['ID']), null, sprintf(__('Are you sure you want to delete # %s?', true), $championship['Championship']['ID'])); ?> </li>
	</ul>
</div>